package com.neuedu.it.mylink.service;

import com.neuedu.it.mylink.entity.Link;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface LinkService {
    public Link getOne(int id);
    public Link add(Link link);
    public void delete(int id);
    public Link update(Link link);
    public Page<Link> page(String findname, String findphone, int userId, Pageable pageable) ;
}
